import * as tools from '../tools';


function registerControl(type = 1, cb = null) {
    if(type == 1) {
        this.normalRegister(cb)
    }
    if(type == 2) {
        this.getConponRegister(cb);
    }
}

registerControl.prototype.normalRegister = {
    
}

registerControl.prototype.getConponRegister = {

}

registerControl.prototype.regiserAjax = function(type = 1) {
    var data = {};
    data.uid = tools.getLocalData('uid');
    data.token = tools.getLocalData('token');
    data.type = tools.getUerAgent();
    data.shop_id = tools.getLocalData('shop_id');
    data.mobile = $('#phone').val();
    data.code = $('#code').val();
    if(type == 2) {
          
    }
}